package messagesvc.common.enums;

import cn.ucloud.microsf.commonlib.enums.BaseEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

public enum DataStatus implements BaseEnum<Integer> {
    VALID(0, "有效"),
    INVALID(1, "无效"),
    ;

    DataStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    @Getter
    private final Integer code;

    @Getter
    private final String desc;
}
